import socket
import time

if __name__ == '__main__':
    address = ('127.0.0.1', 2020)
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    
    while True:
        #msg = '2.35 7.89 0.025 15.23 -34.67\r\n'
        msg = '36.5689888000488280000000000000000000000000 34.1880340576171870000000000000000000000000 0\r\n\r\n36.5689888000488280000000000000000000000000 34.1880340576171870000000000000000000000000 0\r\n\r\n36.5079383850097660000000000000000000000000 34.1880340576171870000000000000000000000000 0\r\n\r\n'
        s.sendto(msg, address)
        print len(msg), msg
        time.sleep(5)
    
    s.close()
